package com.study.reflect_study;

/**
 * @author liuguibin
 * @date 2020-12-27 14:32
 */
public class Food {
    //常量
    private static String fruit1 = "香蕉🍌！";
    public String fruit2 = "火龙果！";
    private double price;


    public double getPeice() {
        return price;
    }

    public void setPeice(double price) {
        this.price = price;

    }

    public void getOther() {
        System.out.println("苹果！");
    }

    private void getPri(String msg) {
        System.out.println("我是私有方法" + msg);
    }
}
